﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL
{
    /// <summary>
    /// Define User Model
    /// </summary>
    public class User
    {
        private int _userId;
        private string _firstName;
        private string _lastName;
        private Department _userDepartment;
        private Role _userRole;

        /// <summary>
        /// User Id
        /// </summary>
        public int UserId
        {
            get { return _userId; }
            set { _userId = value; }
        }

        /// <summary>
        /// First Name
        /// </summary>
        public string FirstName
        {
            get { return _firstName; }
            set { _firstName = value; }
        }

        /// <summary>
        /// Last Name
        /// </summary>
        public string LastName
        {
            get { return _lastName; }
            set { _lastName = value; }
        }

        /// <summary>
        /// Department Attribute
        /// </summary>
        public Department Department
        {
            get { return _userDepartment; }
            set { _userDepartment = value; }
        }

        /// <summary>
        /// Role Attribute
        /// </summary>
        public Role Role
        {
            get { return _userRole; }
            set { _userRole = value; }
        }
    }
}

